﻿<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
		<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
		<META HTTP-EQUIV="Expires" CONTENT="0">
		<title><s:text name="title" />
		</title>
	</head>
	<body>
		<s:actionerror />
		<s:fielderror />
			<a href="../mainService/main.action"><s:text name="return" /> </a>
		<table>
			<s:form action="login" namespace="/login">
				<tr>
					<td align="right">
						<s:text name="userName"></s:text>
					</td>
					<td align="left">
						<s:textfield name="userName" maxlength="20"></s:textfield>
					</td>
				</tr>
				<tr>
					<td align="right">
						<s:text name="password"></s:text>
					</td>
					<td align="left">
						<s:password name="password" maxlength="20" size="21"></s:password>
					</td>
				</tr>
				<tr>
					<td></td>
					<td>
						<s:submit key="login" />
						<input type="button" name="register"
							value="<s:text name='register'/>"
							onclick="location.href='./register.jsp';">
					</td>
				</tr>
			</s:form>
		</table>
	</body>
</html>
